i want to rewrite my url upercase to lowercase in mvc on iis setting. please help me any one.
how to rewrite url in iis uppercase to lowercase
1353
31-Jul-2020
Khushi Singh
26-Feb-2025When it comes to converting URLs in IIS to lowercase characters the URL Rewrite Module proves an efficient solution. Here’s how to do it:
Steps to Rewrite URLs to Lowercase in IIS
Open IIS Manager
inetmgr, and hit Enter to open Internet Information Services Manager.Select the Website
Open URL Rewrite Module
Add a New Rule
Configure the Rule
{URL}Set the Redirect Action
{ToLower:{R:0}}Apply and Save the Rule
Testing the Rule
https://example.com/MyPagewith capital lettershttps://example.com/mypageURL.Lowercase URLs benefit SEO performance and eliminate duplicate content problems between URLs that use uppercase and lowercase letters.